<h2><?php echo $this->escape($this->subtitle); ?></h2>

<form class="cssform" action="<?php echo $this->baseUrl ?>/admin/menu/<?php echo $this->action; ?>" method="post">

	<p>
		<label for="item">Item:</label>
        <input 
        	type="text" 
        	name="item" 
        	size="40"
			value="<?php echo $this->escape(trim($this->item->item));?>"/>
	</p>
	<p>
		<label for="destino">Destino:</label>
        <input 
        	type="text" 
        	name="destino" 
        	size="40"
			value="<?php echo $this->escape($this->item->destino);?>"/>
	</p>
	<p>
		<label for="posicion">Posición:</label>
		<input 
			type="text"
			name="posicion" 
			size="4"
			value="<?php echo $this->escape($this->item->posicion);?>"/>
	</p>
	<p>
		<label for="privado">Privado:</label>
		<input type='radio' name="privado" value="1" <?php if ($this->escape($this->item->privado) == 1) echo 'checked="checked"'; ?>>Si
		<input type='radio' name="privado" value="0" <?php if ($this->escape($this->item->privado) == 0) echo 'checked="checked"'; ?>>No
	</p>

	<p>
		<label for="estado">Estado:</label> 
		<input type='radio' name="estado" value="1" <?php if ($this->escape($this->item->estado) == 1) echo 'checked="checked"'; ?>>Activo
		<input type='radio' name="estado" value="0" <?php if ($this->escape($this->item->estado) == 0) echo 'checked="checked"'; ?>>Inactivo
	</p>
	<br>
	<div class="menu-admin">
		<input type="hidden" name="id" value="<?php echo $this->item->id;?>"/>
		<input type="submit" name="add" value="<?php echo $this->escape($this->buttonText); ?>"/>
	</div>
</form>